﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Core.Configuration.Model
{
    public class ApiResult
    {
        public int status { get; set; }
        public string message { get; set; }

        public object data { get; set; }

        public DateTime time { get; set; } = DateTime.Now;
    }
    public class ApiResult<T>
    {
        public int status { get; set; }
        public string message { get; set; }

        public List<T> data { get; set; }

        public DateTime time { get; set; } = DateTime.Now;
    }
}
